<!doctype html>
<script>
alert("顶部脚本");
</script>
<html>
<head>
<meta charset="utf-8">
<title>test</title>
<script>
alert("头部脚本");
</script>
</head>
<body>
<script>
alert("页面脚本");
</script>
</body>
<script>
alert("底部脚本");
</script>
</html> 



